/*
 * @Descriptin:
 * @Version: 0.1
 * @Autor: tanghailan
 * @Date: 2021-09-07 20:42:36
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-10-21 09:49:42
 */
import request from "../utils/request";

export const login = (username: string, password: string) => {
  return request({
    url: "/admin/login",
    method: "post",
    data: { username: username, password: password },
  });
};
